# .bashrc

PS1='\[\e[1;33m\]\n\w\n\$\[\e[0m\]'
PS2='\[\e[33;1m\]>\[\e[0m\]'


export home=/mnt/ilustre/app/medical
export data=$home/.data
export tools=$home/tools
export tools1=$tools/tools
export scripts=$tools/script
export pys=$tools/py
export lib=$tools/libs
export prefix=1
export out_prefix=$prefix
export var=$scripts/var.sh


alias ta1='tail -100'
alias ta2='tail -200'
alias t2='tail -200'
alias ta5='tail -500'
alias ta0='tail -1000'
alias ta='tail -50'
alias td="cd $tools/"
alias rd='cd ~/run'
alias dat='cd $data'

alias ls='/bin/ls --color=auto'
alias lt='ls -t'
alias lth='ll -rth'
alias lht='ll -rth'
alias LTH='ll -rth'
alias LHT='ll -rth'
alias lth.='l. -lthr'
alias cmx='chmod 755'
alias vb='vi ~/.bashrc'
alias sr='.e ~/.bashrc'
alias move='mv'
alias cu='cd ..'
alias tz='tar xzvf'
alias tj='tar xjvf'
alias tu='top -u `whoami`'

alias les='less -mN'
alias lesss='less -mN'
alias less='less -Nm'
alias le='less -S'

alias pi='ipython'

alias qa='qstat'
alias qu='qstat -u `whoami`'
alias qq='qstat -a medical'


export PATH=.:~/.local/bin:$scripts:$pys:$tools/py_module/bin:$tools1:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/torque/bin


export PYTHONPATH=.:$tools/py_module/lib/python2.7/site-packages:$tools/py_module
export PYTHONUSERBASE=$tools/py_module # python site.USER_BASE
# export PIP_PREFIX=$tools/py_module # confront with --user
# export PIP_CONFIG_FILE=~/.config/pip/pip.conf
# export PIP_CACHE_DIR=~/.cache/pip
export PIP_CACHE_DIR=$tools/py_module
# export PYTHONSTARTUP=~/.startup.py
export IPYTHONDIR=$tools_path/py/ipython


export LD_LIBRARY_PATH=$tools/libs/lib64:$tools/libs/lib:$tools/libs:$tools/root-6.04.10/lib:$tools/zlib-1.2.8:$LD_LIBRARY_PATH

TCL_LIBRARY=/mnt/ilustre/app/medical/Tools/TOOLS/tcl8.6.6/lib/tcl8.6


umask 0022


